package net.wanho.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.wanho.po.BuyList;
import net.wanho.vo.BuyListExportVO;
import net.wanho.vo.BuyListVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 32033
 * @description 针对表【buy_list(采购单表)】的数据库操作Mapper
 * @createDate 2025-01-11 17:01:23
 * @Entity net.wanho.po.BuyList
 */
public interface BuyListMapper extends BaseMapper<BuyList> {

    Page<BuyListVo> purchasePageList(Page<BuyListVo> page, @Param("ew") QueryWrapper<BuyListVo> wrapper);

    List<BuyListExportVO> selectExportList(@Param("ew") QueryWrapper<BuyList> wrapper,
                                           @Param("productName") String productName,
                                           @Param("limitIndex") Integer limitIndex,
                                           @Param("pageSize") Integer pageSize);
}




